package com.cfr.restlet.beans;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "ProcessInstance")
public class ProcessInstanceBean {
	
	private String processInstanceId;
	private Boolean isProcessInstance;
	private String key;
	private String name;
	private String processDefinitionId;
	private String state;

	public String getProcessInstanceId() {
		return processInstanceId;
	}
	
	@XmlElement
	public void setProcessInstanceId(
			String processInstanceBeanId) {
		this.processInstanceId = processInstanceBeanId;
	}

	public Boolean getIsProcessInstance() {
		return isProcessInstance;
	}
	@XmlElement
	public void setIsProcessInstance(Boolean isIsProcessInstance) {
		this.isProcessInstance = isIsProcessInstance;
	}

	public String getKey() {
		return key;
	}
	@XmlElement
	public void setKey(String key) {
		this.key = key;
	}

	public String getName() {
		return name;
	}
	@XmlElement
	public void setName(String name) {
		this.name = name;
	}

	public String getProcessDefinitionId() {
		return processDefinitionId;
	}
	@XmlElement
	public void setProcessDefinitionId(String processDefinitionId) {
		this.processDefinitionId = processDefinitionId;
	}

	public String getState() {
		return state;
	}
	@XmlElement
	public void setState(String state) {
		this.state = state;
	}

}
